<?php

namespace Part07_ProxyPattern\Code1;

require_once '../../autoload.php';

$girl = new SchoolGirl();
$girl->setName('李娇娇');

// 这里实际不符合题意，娇娇不认识卓贾易
$manZ = new Pursuit('卓贾易', $girl->getName());
$manZ->giveChocolate();
$manZ->giveDolls();
$manZ->giveFlowers();